package com.qianxunclub.chapter7.controller;


import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;

/**
 * @author zhangbin
 * @date 2019-06-08 19:31
 * @description: TODO
 */
@Api(description = "首页" , tags = "IndexController")
@RestController
@AllArgsConstructor
@RequestMapping(value = "/api", produces = "application/json")
public class IndexController {

    @ApiOperation("添加抢票信息")
    @ResponseBody
    @GetMapping("ticket")
    public Object user() {
        return "";
    }

}
